Array Data Group

An array data group enables you to display related register data in an array (in other words, a table). Usually such register data is intended by a field device manufacturer to be displayed or consumed as an index or array. A single data group can include a combination of array and non-array data, but it can include only one array. An array data group is always read only.

There are two types of array data groups in CygNet:

Modbus EFM Array Diagram

Modbus EFM Array Diagram

See the following subsections for more information:

For more information, see Device Template Files.

Example – Non-Historical Array

Structure and Components – Non-Historical Array

<DataGroup hasArray="true">

<dgElements>

<DEID arrRegOff="" arrSize=""/>

</dgElements>

</DataGroup>

Example – Historical Array

Structure and Components – Historical Array

<DataGroup hasHistory="true">

<dgElements>

<DEID arrRegOff="" arrSize=""/>

<DateTime desc="Timestamp" type="" arrSize="" cvtRef="" deidTime=""/>

</dgElements>

</DataGroup>

To Create an Array Data Group

  1. Using a text editor or XML editor, open the device template file to which you want to add an array data group. You might need to extract the device template file from a Device Definition Service (DDS) in order to edit it.
    1. Define a DataGroup element for the applicable data group. Add the attribute hasArray or hasHistory and set its value to true.
    2. Define a dgElements element that includes all required data group elements.
    3. For each array data group element, set its arrRegOff and/or arrSize attributes to a value that correlates with all other array data group elements in the data group so that array values properly correlate in your table.
    4. If this data group includes a historical array, include a DateTime element to supply timestamps.
    5. Define blocks to supply data to the array data group elements.
  2. Save your edits.
  3. Validate the template, then load it to the applicable DDS. See CygNet Device Template Manager Utility.
  4. From the applicable DDS, poll the affected device to test data retrieval and confirm the data group works as expected.

Back to top